package com.efast.cafe.portal.service.company;

import java.util.List;

import com.efast.cafe.framework.service.ICafeService;
import com.efast.cafe.portal.entity.company.PortalCompanyOrg;
import com.efast.cafe.portal.remote.company.PortalCompanyOrgService;


public interface IPortalCompanyOrgService extends PortalCompanyOrgService,ICafeService<PortalCompanyOrg>{
	
	/**
	 * 查询所有的组织
	 * @Date        :      2016-8-11
	 * @return
	 */
	public	List<PortalCompanyOrg> queryPortalCompanyOrgList();
	/**
	 * 查询所有的组织
	 * @Date        :      2016-8-11
	 * @return
	 */
	public	List<PortalCompanyOrg> queryPortalCompanyOrgList(Integer portal_company_org_id);
	
	/**
	 * 通过portalCompanyOrgId查询组织
	 * @Date        :      2016-8-11
	 * @param portalCompanyOrgId
	 * @return
	 */
	public PortalCompanyOrg queryCompanyOrgById(Long portalCompanyOrgId);
	
	/**
	 * 修改portalCompanyOrg
	 * @Date        :      2016-8-12
	 * @param portalCompanyOrg
	 */
	public void updateCompanyOrg(PortalCompanyOrg portalCompanyOrg);
	
	/**
	 * 新增companyorg
	 * @Date        :      2016-8-12
	 * @param portalCompanyOrg
	 * @return
	 */
	public Long insertCompanyOrg(PortalCompanyOrg portalCompanyOrg);
	
	/**
	 * 删除companyorg
	 * @Date        :      2016-8-12
	 * @param portalCompanyOrg
	 */
	public void deleteCompanyOrg(Long portalCompanyOrgId);
	/**
	 * 查询当前用户默认职位信息
	 * @Date        :      2016年11月9日
	 * @return
	 */
	public PortalCompanyOrg getCurrentUserOrg();
	
	public	List<PortalCompanyOrg> getListFirstLevelOrgByCompanyUser();
	
}
